package com.hb.core.pojo.project.opening.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hb.core.pojo.parent.MPCommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 开标大厅投标人操作记录表
 *
 * @author Lix1ang
 * @date 2022-1-17 14:37:44
 */
@Data
@TableName("trade_opening_bid_tender_record")
@ApiModel(value = "开标大厅投标人记录表", description = "开标大厅投标人记录表")
public class OpeningBidTenderRecord extends MPCommonEntity {

    @ApiModelProperty(value = "开标大厅投标人表Id")
    private Long tenderId;

    @ApiModelProperty(value = "操作类型(1: 签到  2: 解密  3: 确认)")
    private Integer actionType;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime actionTime;
}
